<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>详情页面</title>

</head>

<body>
<form id="form1" name="form1" method="post" action="/updateComputer.do">
  <!-- 隐藏域 放主键 -->
  <input type="hidden" name="comId" value="${dto.comId}"/>
  <table width="800" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td colspan="2" align="left" bgcolor="#0099FF">电脑详细信息</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#CCCCCC">电脑类型</td>
      <td bgcolor="#CCCCFF"><label for="comModel"></label>
      <input type="text" name="comModel" id="comModel" value="${dto.comModel}" /></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#CCCCCC">生成日期</td>
      <td bgcolor="#CCCCFF"><input type="text" name="comGendate" id="comGendate" value="${dto.comGendate}" /></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#CCCCCC">价格</td>
      <td bgcolor="#CCCCFF"><input type="text" name="comPrice" id="comPrice" value="${dto.comPrice}" /></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#CCCCCC">描叙</td>
      <td bgcolor="#CCCCFF"><input type="text" name="comDesc" id="comDesc" value="${dto.comDesc}" /></td>
    </tr>
    <tr>
      <td colspan="2" align="left"><input type="submit" name="button" id="button" value="编辑" /></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</form>
</body>
</html>